3.528 \(\int \frac{x \sqrt{d+e x}}{a+b x+c x^2} \, dx\)

Optimal. Leaf size=287 \[ \frac{\sqrt{2} \left (-\sqrt{b^2-4 a c} (c d-b e)+2 a c e+b^2 (-e)+b c d\right ) \tanh ^{-1}\left (\frac{\sqrt{2} \sqrt{c} \sqrt{d+e x}}{\sqrt{2 c d-e \left (b-\sqrt{b^2-4 a c}\right )}}\right )}{c^{3/2} \sqrt{b^2-4 a c} \sqrt{2 c d-e \left (b-\sqrt{b^2-4 a c}\right )}}-\frac{\sqrt{2} \left (\sqrt{b^2-4 a c} (c d-b e)+2 a c e+b^2 (-e)+b c d\right ) \tanh ^{-1}\left (\frac{\sqrt{2} \sqrt{c} \sqrt{d+e x}}{\sqrt{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}}\right )}{c^{3/2} \sqrt{b^2-4 a c} \sqrt{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}}+\frac{2 \sqrt{d+e x}}{c} \]

[Out]

(2*Sqrt[d + e*x])/c + (Sqrt[2]*(b*c*d - b^2*e + 2*a*c*e - Sqrt[b^2 - 4*a*c]*(c*d
 - b*e))*ArcTanh[(Sqrt[2]*Sqrt[c]*Sqrt[d + e*x])/Sqrt[2*c*d - (b - Sqrt[b^2 - 4*
a*c])*e]])/(c^(3/2)*Sqrt[b^2 - 4*a*c]*Sqrt[2*c*d - (b - Sqrt[b^2 - 4*a*c])*e]) -
 (Sqrt[2]*(b*c*d - b^2*e + 2*a*c*e + Sqrt[b^2 - 4*a*c]*(c*d - b*e))*ArcTanh[(Sqr
t[2]*Sqrt[c]*Sqrt[d + e*x])/Sqrt[2*c*d - (b + Sqrt[b^2 - 4*a*c])*e]])/(c^(3/2)*S
qrt[b^2 - 4*a*c]*Sqrt[2*c*d - (b + Sqrt[b^2 - 4*a*c])*e])

_______________________________________________________________________________________

Rubi [A]  time = 5.73249, antiderivative size = 287, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 4, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.174 \[ \frac{\sqrt{2} \left (-\sqrt{b^2-4 a c} (c d-b e)+2 a c e+b^2 (-e)+b c d\right ) \tanh ^{-1}\left (\frac{\sqrt{2} \sqrt{c} \sqrt{d+e x}}{\sqrt{2 c d-e \left (b-\sqrt{b^2-4 a c}\right )}}\right )}{c^{3/2} \sqrt{b^2-4 a c} \sqrt{2 c d-e \left (b-\sqrt{b^2-4 a c}\right )}}-\frac{\sqrt{2} \left (\sqrt{b^2-4 a c} (c d-b e)+2 a c e+b^2 (-e)+b c d\right ) \tanh ^{-1}\left (\frac{\sqrt{2} \sqrt{c} \sqrt{d+e x}}{\sqrt{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}}\right )}{c^{3/2} \sqrt{b^2-4 a c} \sqrt{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}}+\frac{2 \sqrt{d+e x}}{c} \]

Antiderivative was successfully verified.

[In]  Int[(x*Sqrt[d + e*x])/(a + b*x + c*x^2),x]

[Out]

(2*Sqrt[d + e*x])/c + (Sqrt[2]*(b*c*d - b^2*e + 2*a*c*e - Sqrt[b^2 - 4*a*c]*(c*d
 - b*e))*ArcTanh[(Sqrt[2]*Sqrt[c]*Sqrt[d + e*x])/Sqrt[2*c*d - (b - Sqrt[b^2 - 4*
a*c])*e]])/(c^(3/2)*Sqrt[b^2 - 4*a*c]*Sqrt[2*c*d - (b - Sqrt[b^2 - 4*a*c])*e]) -
 (Sqrt[2]*(b*c*d - b^2*e + 2*a*c*e + Sqrt[b^2 - 4*a*c]*(c*d - b*e))*ArcTanh[(Sqr
t[2]*Sqrt[c]*Sqrt[d + e*x])/Sqrt[2*c*d - (b + Sqrt[b^2 - 4*a*c])*e]])/(c^(3/2)*S
qrt[b^2 - 4*a*c]*Sqrt[2*c*d - (b + Sqrt[b^2 - 4*a*c])*e])

_______________________________________________________________________________________

Rubi in Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(x*(e*x+d)**(1/2)/(c*x**2+b*x+a),x)

[Out]

Timed out

_______________________________________________________________________________________

Mathematica [A]  time = 0.542808, size = 301, normalized size = 1.05 \[ \frac{\frac{\sqrt{2} \left (-c d \sqrt{b^2-4 a c}+b e \sqrt{b^2-4 a c}+2 a c e+b^2 (-e)+b c d\right ) \tanh ^{-1}\left (\frac{\sqrt{2} \sqrt{c} \sqrt{d+e x}}{\sqrt{e \sqrt{b^2-4 a c}-b e+2 c d}}\right )}{\sqrt{b^2-4 a c} \sqrt{e \left (\sqrt{b^2-4 a c}-b\right )+2 c d}}+\frac{\sqrt{2} \left (-c d \sqrt{b^2-4 a c}+b e \sqrt{b^2-4 a c}-2 a c e+b^2 e-b c d\right ) \tanh ^{-1}\left (\frac{\sqrt{2} \sqrt{c} \sqrt{d+e x}}{\sqrt{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}}\right )}{\sqrt{b^2-4 a c} \sqrt{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}}+2 \sqrt{c} \sqrt{d+e x}}{c^{3/2}} \]

Antiderivative was successfully verified.

[In]  Integrate[(x*Sqrt[d + e*x])/(a + b*x + c*x^2),x]

[Out]

(2*Sqrt[c]*Sqrt[d + e*x] + (Sqrt[2]*(b*c*d - c*Sqrt[b^2 - 4*a*c]*d - b^2*e + 2*a
*c*e + b*Sqrt[b^2 - 4*a*c]*e)*ArcTanh[(Sqrt[2]*Sqrt[c]*Sqrt[d + e*x])/Sqrt[2*c*d
 - b*e + Sqrt[b^2 - 4*a*c]*e]])/(Sqrt[b^2 - 4*a*c]*Sqrt[2*c*d + (-b + Sqrt[b^2 -
 4*a*c])*e]) + (Sqrt[2]*(-(b*c*d) - c*Sqrt[b^2 - 4*a*c]*d + b^2*e - 2*a*c*e + b*
Sqrt[b^2 - 4*a*c]*e)*ArcTanh[(Sqrt[2]*Sqrt[c]*Sqrt[d + e*x])/Sqrt[2*c*d - (b + S
qrt[b^2 - 4*a*c])*e]])/(Sqrt[b^2 - 4*a*c]*Sqrt[2*c*d - (b + Sqrt[b^2 - 4*a*c])*e
]))/c^(3/2)

_______________________________________________________________________________________

Maple [B]  time = 0.043, size = 926, normalized size = 3.2 \[ \text{result too large to display} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(x*(e*x+d)^(1/2)/(c*x^2+b*x+a),x)

[Out]

2*(e*x+d)^(1/2)/c+2/(-e^2*(4*a*c-b^2))^(1/2)*2^(1/2)/((b*e-2*c*d+(-e^2*(4*a*c-b^
2))^(1/2))*c)^(1/2)*arctan(c*(e*x+d)^(1/2)*2^(1/2)/((b*e-2*c*d+(-e^2*(4*a*c-b^2)
)^(1/2))*c)^(1/2))*a*e^2-1/c/(-e^2*(4*a*c-b^2))^(1/2)*2^(1/2)/((b*e-2*c*d+(-e^2*
(4*a*c-b^2))^(1/2))*c)^(1/2)*arctan(c*(e*x+d)^(1/2)*2^(1/2)/((b*e-2*c*d+(-e^2*(4
*a*c-b^2))^(1/2))*c)^(1/2))*b^2*e^2+1/(-e^2*(4*a*c-b^2))^(1/2)*2^(1/2)/((b*e-2*c
*d+(-e^2*(4*a*c-b^2))^(1/2))*c)^(1/2)*arctan(c*(e*x+d)^(1/2)*2^(1/2)/((b*e-2*c*d
+(-e^2*(4*a*c-b^2))^(1/2))*c)^(1/2))*b*d*e-1/c*2^(1/2)/((b*e-2*c*d+(-e^2*(4*a*c-
b^2))^(1/2))*c)^(1/2)*arctan(c*(e*x+d)^(1/2)*2^(1/2)/((b*e-2*c*d+(-e^2*(4*a*c-b^
2))^(1/2))*c)^(1/2))*b*e+2^(1/2)/((b*e-2*c*d+(-e^2*(4*a*c-b^2))^(1/2))*c)^(1/2)*
arctan(c*(e*x+d)^(1/2)*2^(1/2)/((b*e-2*c*d+(-e^2*(4*a*c-b^2))^(1/2))*c)^(1/2))*d
+2/(-e^2*(4*a*c-b^2))^(1/2)*2^(1/2)/((-b*e+2*c*d+(-e^2*(4*a*c-b^2))^(1/2))*c)^(1
/2)*arctanh(c*(e*x+d)^(1/2)*2^(1/2)/((-b*e+2*c*d+(-e^2*(4*a*c-b^2))^(1/2))*c)^(1
/2))*a*e^2-1/c/(-e^2*(4*a*c-b^2))^(1/2)*2^(1/2)/((-b*e+2*c*d+(-e^2*(4*a*c-b^2))^
(1/2))*c)^(1/2)*arctanh(c*(e*x+d)^(1/2)*2^(1/2)/((-b*e+2*c*d+(-e^2*(4*a*c-b^2))^
(1/2))*c)^(1/2))*b^2*e^2+1/(-e^2*(4*a*c-b^2))^(1/2)*2^(1/2)/((-b*e+2*c*d+(-e^2*(
4*a*c-b^2))^(1/2))*c)^(1/2)*arctanh(c*(e*x+d)^(1/2)*2^(1/2)/((-b*e+2*c*d+(-e^2*(
4*a*c-b^2))^(1/2))*c)^(1/2))*b*d*e+1/c*2^(1/2)/((-b*e+2*c*d+(-e^2*(4*a*c-b^2))^(
1/2))*c)^(1/2)*arctanh(c*(e*x+d)^(1/2)*2^(1/2)/((-b*e+2*c*d+(-e^2*(4*a*c-b^2))^(
1/2))*c)^(1/2))*b*e-2^(1/2)/((-b*e+2*c*d+(-e^2*(4*a*c-b^2))^(1/2))*c)^(1/2)*arct
anh(c*(e*x+d)^(1/2)*2^(1/2)/((-b*e+2*c*d+(-e^2*(4*a*c-b^2))^(1/2))*c)^(1/2))*d

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{\sqrt{e x + d} x}{c x^{2} + b x + a}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(sqrt(e*x + d)*x/(c*x^2 + b*x + a),x, algorithm="maxima")

[Out]

integrate(sqrt(e*x + d)*x/(c*x^2 + b*x + a), x)

_______________________________________________________________________________________

Fricas [A]  time = 0.314283, size = 2323, normalized size = 8.09 \[ \text{result too large to display} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(sqrt(e*x + d)*x/(c*x^2 + b*x + a),x, algorithm="fricas")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4)*sqrt((b^2*c^2*d^2 - 2*(b^3*c - a*b*
c^2)*d*e + (b^4 - 2*a*b^2*c + a^2*c^2)*e^2)/(b^2*c^6 - 4*a*c^7)))*sqrt(((b^2*c -
 2*a*c^2)*d - (b^3 - 3*a*b*c)*e - (b^2*c^3 - 4*a*c^4)*sqrt((b^2*c^2*d^2 - 2*(b^3
*c - a*b*c^2)*d*e + (b^4 - 2*a*b^2*c + a^2*c^2)*e^2)/(b^2*c^6 - 4*a*c^7)))/(b^2*
c^3 - 4*a*c^4)) + 4*(a*b*c*d - (a*b^2 - a^2*c)*e)*sqrt(e*x + d)) + 4*sqrt(e*x +
d))/c

_______________________________________________________________________________________

Sympy [A]  time = 138.83, size = 1435, normalized size = 5. \[ \text{result too large to display} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x*(e*x+d)**(1/2)/(c*x**2+b*x+a),x)

[Out]

-2*a*e**2*RootSum(_t**4*(256*a**3*c**2*e**6 - 128*a**2*b**2*c*e**6 - 256*a**2*b*
c**2*d*e**5 + 256*a**2*c**3*d**2*e**4 + 16*a*b**4*e**6 + 128*a*b**3*c*d*e**5 - 1
28*a*b**2*c**2*d**2*e**4 - 16*b**5*d*e**5 + 16*b**4*c*d**2*e**4) + _t**2*(-16*a*
b*c*e**3 + 32*a*c**2*d*e**2 + 4*b**3*e**3 - 8*b**2*c*d*e**2) + c, Lambda(_t, _t*
log(32*_t**3*a**2*b*e**5 - 64*_t**3*a**2*c*d*e**4 - 8*_t**3*a*b**3*e**5/c - 16*_
t**3*a*b**2*d*e**4 + 96*_t**3*a*b*c*d**2*e**3 - 64*_t**3*a*c**2*d**3*e**2 + 8*_t
**3*b**4*d*e**4/c - 24*_t**3*b**3*d**2*e**3 + 16*_t**3*b**2*c*d**3*e**2 + 4*_t*a
*e**2 - 2*_t*b**2*e**2/c + 4*_t*b*d*e - 4*_t*c*d**2 + sqrt(d + e*x))))/c + 2*b*d
*e*RootSum(_t**4*(256*a**3*c**2*e**6 - 128*a**2*b**2*c*e**6 - 256*a**2*b*c**2*d*
e**5 + 256*a**2*c**3*d**2*e**4 + 16*a*b**4*e**6 + 128*a*b**3*c*d*e**5 - 128*a*b*
*2*c**2*d**2*e**4 - 16*b**5*d*e**5 + 16*b**4*c*d**2*e**4) + _t**2*(-16*a*b*c*e**
3 + 32*a*c**2*d*e**2 + 4*b**3*e**3 - 8*b**2*c*d*e**2) + c, Lambda(_t, _t*log(32*
_t**3*a**2*b*e**5 - 64*_t**3*a**2*c*d*e**4 - 8*_t**3*a*b**3*e**5/c - 16*_t**3*a*
b**2*d*e**4 + 96*_t**3*a*b*c*d**2*e**3 - 64*_t**3*a*c**2*d**3*e**2 + 8*_t**3*b**
4*d*e**4/c - 24*_t**3*b**3*d**2*e**3 + 16*_t**3*b**2*c*d**3*e**2 + 4*_t*a*e**2 -
 2*_t*b**2*e**2/c + 4*_t*b*d*e - 4*_t*c*d**2 + sqrt(d + e*x))))/c - 2*b*e*RootSu
m(_t**4*(256*a**2*c**3*e**4 - 128*a*b**2*c**2*e**4 + 16*b**4*c*e**4) + _t**2*(-1
6*a*b*c*e**3 + 32*a*c**2*d*e**2 + 4*b**3*e**3 - 8*b**2*c*d*e**2) + a*e**2 - b*d*
e + c*d**2, Lambda(_t, _t*log(64*_t**3*a*c**2*e**2 - 16*_t**3*b**2*c*e**2 - 2*_t
*b*e + 4*_t*c*d + sqrt(d + e*x))))/c - 2*d**2*RootSum(_t**4*(256*a**3*c**2*e**6
- 128*a**2*b**2*c*e**6 - 256*a**2*b*c**2*d*e**5 + 256*a**2*c**3*d**2*e**4 + 16*a
*b**4*e**6 + 128*a*b**3*c*d*e**5 - 128*a*b**2*c**2*d**2*e**4 - 16*b**5*d*e**5 +
16*b**4*c*d**2*e**4) + _t**2*(-16*a*b*c*e**3 + 32*a*c**2*d*e**2 + 4*b**3*e**3 -
8*b**2*c*d*e**2) + c, Lambda(_t, _t*log(32*_t**3*a**2*b*e**5 - 64*_t**3*a**2*c*d
*e**4 - 8*_t**3*a*b**3*e**5/c - 16*_t**3*a*b**2*d*e**4 + 96*_t**3*a*b*c*d**2*e**
3 - 64*_t**3*a*c**2*d**3*e**2 + 8*_t**3*b**4*d*e**4/c - 24*_t**3*b**3*d**2*e**3
+ 16*_t**3*b**2*c*d**3*e**2 + 4*_t*a*e**2 - 2*_t*b**2*e**2/c + 4*_t*b*d*e - 4*_t
*c*d**2 + sqrt(d + e*x)))) + 2*d*RootSum(_t**4*(256*a**2*c**3*e**4 - 128*a*b**2*
c**2*e**4 + 16*b**4*c*e**4) + _t**2*(-16*a*b*c*e**3 + 32*a*c**2*d*e**2 + 4*b**3*
e**3 - 8*b**2*c*d*e**2) + a*e**2 - b*d*e + c*d**2, Lambda(_t, _t*log(64*_t**3*a*
c**2*e**2 - 16*_t**3*b**2*c*e**2 - 2*_t*b*e + 4*_t*c*d + sqrt(d + e*x)))) + 2*sq
rt(d + e*x)/c

_______________________________________________________________________________________

GIAC/XCAS [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(sqrt(e*x + d)*x/(c*x^2 + b*x + a),x, algorithm="giac")

[Out]

Timed out